package com.victor.dao;

import java.util.HashMap;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import com.victor.entity.Jingqulist;
@Mapper
public interface JingqulistDao {
    int deleteByPrimaryKey(int[] id);

    int insert(Jingqulist record);

    int insertSelective(Jingqulist record);

    Jingqulist selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Jingqulist record);

    int updateByPrimaryKey(Jingqulist record);
    /**
     * 查询全部
     * @return
     */
    @Select({"select * from jingqulist"})
	List<Jingqulist> selAll();
    /**
     * 根据省，市，搜索条件查询
     * @param map
     * @return
     */
	List<Jingqulist> selByCondition(HashMap<Object, Object> map);
}